package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;


/**
 * 火化预约时间段表Entity
 *
 * @author generator
 * @date 2020-03-12 17:08
 */
@MyTable(value = "CremationTimeSegmentEntity", name = "cremation_time_segment", comment = "火化预约时间段表")
public class CremationTimeSegmentEntity extends BaseEntity {
    /**
     * 火化炉类型编码
     */
    @MyColumn(value = "furnaceTypeCode", name = "furnace_type_code", comment = "火化炉类型编码", required = true)
    private Integer furnaceTypeCode;

    /**
     * 预约时间段
     */
    @MyColumn(value = "appointmentTimeSegment", name = "appointment_time_segment", comment = "预约时间段", required = true)
    private String appointmentTimeSegment;

    /**
     * 排序
     */
    @MyColumn(value = "sort", name = "sort", comment = "排序", required = true)
    private Integer sort;


    public Integer getFurnaceTypeCode() {
        return furnaceTypeCode;
    }

    public CremationTimeSegmentEntity setFurnaceTypeCode(Integer furnaceTypeCode) {
        this.furnaceTypeCode = furnaceTypeCode;
        return this;
    }

    public String getAppointmentTimeSegment() {
        return appointmentTimeSegment;
    }

    public CremationTimeSegmentEntity setAppointmentTimeSegment(String appointmentTimeSegment) {
        this.appointmentTimeSegment = appointmentTimeSegment;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public CremationTimeSegmentEntity setSort(Integer sort) {
        this.sort = sort;
        return this;
    }
}